package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "股权出质")
public class BusinessPledged implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "登记日期")
    private Date registerDate;
    @ApiModelProperty(value = "登记编号")
    private String registerCode;
    @ApiModelProperty(value = "出质人")
    private String pledgor;
    @ApiModelProperty(value = "质权人")
    private String pledgee;
    @ApiModelProperty(value = "状态")
    private Integer state;
    @ApiModelProperty(value = "状态名称")
    private String stateName;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "详情")
    private String content;
    @ApiModelProperty(value = "出质股权数")
    private BigDecimal equity;
    @ApiModelProperty(value = "出质人证件号")
    private String pledgorCode;
    @ApiModelProperty(value = "质权人证件号")
    private String pledgeeCode;
    @ApiModelProperty(value = "备注")
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    public String getRegisterCode() {
        return registerCode;
    }

    public void setRegisterCode(String registerCode) {
        this.registerCode = registerCode == null ? null : registerCode.trim();
    }

    public String getPledgor() {
        return pledgor;
    }

    public void setPledgor(String pledgor) {
        this.pledgor = pledgor == null ? null : pledgor.trim();
    }

    public String getPledgee() {
        return pledgee;
    }

    public void setPledgee(String pledgee) {
        this.pledgee = pledgee == null ? null : pledgee.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName == null ? null : stateName.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public BigDecimal getEquity() {
        return equity;
    }

    public void setEquity(BigDecimal equity) {
        this.equity = equity;
    }

    public String getPledgorCode() {
        return pledgorCode;
    }

    public void setPledgorCode(String pledgorCode) {
        this.pledgorCode = pledgorCode;
    }

    public String getPledgeeCode() {
        return pledgeeCode;
    }

    public void setPledgeeCode(String pledgeeCode) {
        this.pledgeeCode = pledgeeCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "BusinessPledged{" +
                "id=" + id +
                ", registerDate=" + registerDate +
                ", registerCode='" + registerCode + '\'' +
                ", pledgor='" + pledgor + '\'' +
                ", pledgee='" + pledgee + '\'' +
                ", state=" + state +
                ", stateName='" + stateName + '\'' +
                ", enterId=" + enterId +
                ", content='" + content + '\'' +
                ", equity=" + equity +
                ", pledgorCode='" + pledgorCode + '\'' +
                ", pledgeeCode='" + pledgeeCode + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}